package com.kaishengit.entity;

import com.kaishengit.util.FileSize;

public class MyFile {
	private String id;
	private String name;
	private String fileName;
	private int size;
	private String Filesize;
	private String userId;
	private String filesId;
	private User user;
	private Files files;
	private String type;
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getFilesId() {
		return filesId;
	}
	public void setFilesId(String filesId) {
		this.filesId = filesId;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Files getFiles() {
		return files;
	}
	public void setFiles(Files files) {
		this.files = files;
	}
	public String getFilesize() {
		return Filesize;
	}
	public void setFilesize(int i) {
		Filesize = FileSize.getSize(this.size);
	}
	
	
}
